import request from "@/common/utils/request";

// 获取账号平台列表
export async function getPlatformList(params) {
  return request.get("/work_ai", "/org/platform/account/shotStackList", params);
}

// 获取用户账号列表
export async function getUserAccountList(params) {
  return request.get("/work_ai", "/org/platform/account/user/list", params);
}

/**
 * 删除用户账号
 * @param {*} id 账户id
 * @returns
 */
export async function deleteUserAccount(id) {
  return request.del("/work_ai", "/org/platform/account/user/delete", {
    id,
  });
}
